package com.imooc.springmvc3;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by joe on 16-8-11.
 */
@Controller
public class HelloController {

    @RequestMapping("/index")
//    @ResponseBody
    public String hello(){
        return "index";
    }
}
